@import 'global/headers';
@import 'global/slideMenu';
@import 'global/material-icons';
@import 'product/list';
@import 'product/new';
@import 'product/select-template';
@import 'order/list';
@import 'comment/list';
@import 'comment/new';
@import 'currency/list';
@import 'sites/sites';
@import 'elui-adapter';
@import 'article/list';
@import 'article/new';
@import 'user/list';
@import 'usergroup/list';
@import 'stat/stat';
@font-face {
    font-family: "Neo Sans";
    src: url('{{ resouce-origin }}/plugins/font/NeoSansStd-Bold.otf');
}

@font-face {
    font-family: "DIN Bold";
    src: url('{{ resouce-origin }}/plugins/font/DIN Bold.otf');
}

body{
    overflow-x: scroll;
     font-family: 'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',Arial,sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
}



body, html {
	background-color: white;
    width: 100%;
    height: 100%;
	margin: 0px;
	padding: 0px;
   
    .maticon(@content){
         font-family: 'Material Icons' ! important;
          font-weight: bold;
          font-style: normal;
          line-height: 1;
          letter-spacing: normal;
          text-transform: none;
          display: inline-block;
          white-space: nowrap;
          word-wrap: normal;
          direction: ltr;
          -webkit-font-feature-settings: 'liga';
          -webkit-font-smoothing: antialiased;
          &:before{  
            content: @content;
          }
    }
  
    .el-pagination .btn-prev.disabled{ display: none !important; }
    .el-pagination .btn-next.disabled{ display: none !important; }
    .el-pagination{
        margin: 20px auto 50px;
        display: table;
        .btn-next,.btn-prev{
            border: none;
        }
        .el-pager .number{
             margin-right: 20px;
        }
        .el-pagination__jump{
            font-size: 0px;
        }
        .el-pagination__editor{
            border: 2px solid #ccc;
            border-radius: 2px;
            padding-bottom: 2px;
            padding-top: 2px;
        }
    }
    .el-pager{
        .el-icon-arrow-left{  .maticon("\E5DC"); color: #0080FF;  font-size: 14px !important;}
        .el-icon-arrow-right{ .maticon("\E5DD"); color: #0080FF;  font-size: 14px !important;}
        li.number, li.number:last-child, li.number:first-child, li.active+li {
          font-weight: bold;
          color: #aaa;
          font-size: 14px;
          border: none;
          &.active, &:hover{
                color: #0080FF;
                border: none;
                background: transparent;
                border-radius: 0;
          }
        }
        li{
            border:none;
        }
    }
          
}

ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#mainlayer {
	position: relative;
    min-width: 1150px;
	margin-left: 250px;
}
#mainlayer .container {    
    position: relative;
	padding: 30px 100px; 
}

.charts{
    height: 250px;
    min-width: 600px;
    background: #F6F6F6;
    border-bottom: 1px solid #eee;
    .chart{
           min-width: 600px;
           background: #F6F6F6;
           height: 250px;
           z-index: 600px;
           position: absolute;
           display: block;
           width: 100%;
    }
    canvas{
        z-index: 1000;
    }
           
    .bk{
        background: white;
        position: absolute;
        display: block;
        height: 44px;
        width: 100%;
        z-index: 800px;
        top: 208px;
    }
    .chart div{
        white-space: "nowrap";
        word-break: keep-all;
        & > nth-child(2){
            line-height: 36px;
            height: 36px;
            vertical-align: middle;
            &:first-line{
                display: none;
            }
        }
        
        span{
            border-radius: 8px !important;
            margin-left: 20px;
            &:nth-child(1){
                margin-left: 5px;
            }
            margin-right: 4px;
        }
        
        
    }
}

.abscenter(){
     margin: auto;  
     position: absolute;  
     left: 0; 
     bottom: 0; 
     right: 0;  
     top: 0;
}

.sub-title{
    font-weight: bold;
    font-size: 12px;
    margin: 25px 0px 20px;
    ul{
        font-weight: bold;
        color: #222;
    }
    li {
        margin: 20px 0px;
        font-size: 12px; 
        color: #666;
        a {
          color: rgb(158, 158, 158);
          text-decoration: none;
        }
    }
}

.center{
   display: block;
   height: 250px;
   position: relative;
   & > div{
     .abscenter();
     top: auto;  
   }
}
.sub-data-list{
   .el-col {
    border: 1px solid #F1F1F1;
    border-left: none;
    height: 88px;
    &:first-child{
      border-left: 1px solid #F1F1F1;
      border-radius: 4px 0px 0px 4px;
    }
    &:last-child{
      border-radius: 0px 4px 4px 0px;           
    }
    display: block;
    position: relative;
    text-align: center;
       i {
           position: absolute;
           top: 10px;
           left: 10px;
           font-size: 16px;
       }
    .sub-data-num{
        margin: 25px auto 0px;
            font-family: "Neo Sans";
        font-weight: bold;
        font-size: 20px;
        color: #666;
    }
       
    .sub-data-title{
        font-size: 14px;
        font-weight: bold;
        margin: 0px auto 23px;
        color: #aaa;
    }
  }
   
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
 
}

.row-bg-2{
    padding: 100px 0;
}

.el-dropdown-menu{
    li.el-dropdown-menu__item{
        font-size: 12px;
        
    }
}

.content{
    &.inversed{
        background: #F6F6F6;
        height: 754px;
        display: block;
    }
}

.header-panel{
    &.inversed {
        background: white;
        .control{
            background: white;
        }
    }

    .heading{
        font-size: 24px;
        color: #222;
        & + .op-box{
            margin-top: 20px;
        }
    }

    .op-box{
        height: 46px;
        display: flex;
        position: relative;
        width: 400px;
        overflow: hidden;
        
    }
    .op-flexbox{
        display: flex;
        width: 400px;
    }
.control{
    padding: 51px;
    height:  60px;
    background: #F6F6F6;
    display: block;
    position: relative;
    font-size: 12px;
    color: #aaa;

    .operations{
        float: right;
        z-index: 1000;
        font-weight: bold;
        font-size: 14px;
        button:nth-last-child(n+2), a:nth-last-child(n+2){
            margin-right: 16px;
        }
        .el-button--default{
            background: transparent;
        }
    }
    .el-input{
        width: 264px;
        height: 44px;
        font-size: 10px !important;
        padding: 0px;
        font-weight: bold;
        border-radius: 4px;
        border: 1px solid #ccc;
        input {
            height: 44px;
            padding-left: 14px;
            color: #222;
            font-weight: bold;
            &:-webkit-input-placeholder, 
            &:-moz-placeholder{
                color: #ccc;
            }
            font-size: 14px;
            border: none;
        }
        i {
            font-size: 14px !important;
            color: #666;
            font-weight: bold;
            line-height: 44px;
            height: 44px;
        }
    }
    .select-category{
        background: white;
        padding: 0px;
        border: 1px solid #ccc;
        font-weight: bold;
        border-radius: 4px 0px 0px 4px;
        border-right: none;
        height: 44px;
        width: 80px;
        font-size: 12px;
        cursor: pointer;
        & + .el-input{
            border-left: none;
            border-radius: 0px 4px 4px 0px;
            width: 184px;
        }
        .el-dropdown-link{
            vertical-align: middle;
            display: table-cell;
            height: 44px;
            padding-left: 10px;
        }
        i{
            transform: scale(0.8);
        }
        
    }
    .el-button{
        height: 44px;
        i {
            margin-left: 5px;
            float:right;
            width: 14px;
            height: 14px;
            font-size: 14px;
        }    
		padding: 20px auto;
            }
            .el-button--default{
                color: #0080FF;
                border-color: #0080FF;
            }
            .op{
                    margin-top: 10px;
                    width: 264px;
            };
            .op-link{
                color: #0080FF;
                font-size: 14px;
                text-decoration: none;
            }
            .op-checkbox .el-checkbox{
                color: #aaa;
                font-size: 12px;
                .el-checkbox__label{
                    padding-left: 8px;
                }
                .is-checked + .el-checkbox__label{
                        color: #0080FF;
                }     
            }
        }
        
    }

    .el-table .el-table__header-wrapper thead div.cell{
                color: #666;
    }

.main-table{
     table.el-table__header{
            border-top:none;
            tr, thead {
                border-top:none;
            }
            
            .el-checkbox{
                display: inline;
                &:after{
                    content: "全选";
                    display: inline;
                    font-family: "黑体";
                    cursor: pointer;
                    color: #0080FF;
                }
            }
            .el-checkbox__input{
                .el-checkbox__inner{
                    display: none;
                }
            }
        }
        .el-table{
            border-top:none;
            
        }
        table.el-table__header, 
        table.el-table__body,
        .el-table__header-wrapper,
        .el-table__body-wrapper,
        .el-table{
            width: 100% !important;
            font-size: 10px !important;
            overflow: hidden;
            word-break: break-all;
            white-space:normal;
            border{
                left: none;
                right: none;
            }
            tr{
                border{
                    //left, right, bottom, top{
                        color: rgb(246, 246, 246);
                    //}
                }
                
                td{
                    height: 100px !important;
                }
                th {
                    height: 45px !important;
                    background: #F6F6F6;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                   
                    & div {
                        background: #F6F6F6;
                        color: #222;
                    }
                }
                td{
                    border-right: none;
                    border-left: none;
                    border-color: rgb(246, 246, 246);
                }
                
                .el-table-column img{
                    float: left;
                }
            }
        }  
        
        
}


.header-panel-addition{
    background: #F6F6F6;
    height: 44px;
    display: block;
    &.inversed{
        background: white;
    }
}

.flexbox{
    display: flex;
    &.col{
        flex-flow: column wrap;
    }
}

body{
    .el-pagination.with-button{
            
            font-size: 12px;
            font-weight: bold;
            height: 26px;
            span.el-pagination__jump {
                border: 1px solid #ccc;
                border-radius: 4px 0px 0px 4px;
                border-right: none;
                //display: table-cell;
                padding: 0px 0px;
                box-sizing: content-box;
                height: 26px;
                input.el-pagination__editor{
                    border: none;
                    line-height: 12px;
                    width: 44px !important;
                    font-weight: bold;
                    border-radius: 0px;
                    border-right: 1px solid #ccc;
                    color: #666;
                    height: 12px;
                    box-sizing: border-box;
                    -webkit-placeholder{
                        color: #ccc;
                    }
                    margin-top: 7px;
                    font-size: 12px;
                }
            }
            .el-pagination__jump + .el-pagination__append{
                border: 1px solid #ccc;
                border-radius: 0px 4px 4px 0px;
                border-left: none;
                margin-left: -6px;
                line-height: 12px;
                box-sizing: content-box;
                width: 42px;
                //display: table-cell;
                font-weight: bold;
                padding: 0 8px;
                height: 26px;
                color: #0080FF;
                span{
                    font-size: 12px;
                }
            }
    }   
    .el-message-box__headerbtn{
      display: none;    
    }

  
    /*
    .el-table-filter__content{
        background: #222;
        width: 120px;
        span.el-checkbox__label{
            font-size: 14px;
            color: #aaa;
            word-break: break-all;
            
        }
        .el-checkbox-group.el-table-filter__checkbox-group:before{
            display: block;
            width: 0px;
            height: 0px;
            border-bottom: 6px solid #222;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid transparent;
            z-index: 10000;
        }
        
    }
    div.el-table-filter__bottom{
            display: none;
    }
    .el-table .el-table__header-wrapper th.filter-caption{
        div.cell{
            font-size: 12px;
            font-weight: bold;
            color: #0080FF;
            i{
                margin-left: 4px;
            }
        }
    }
    */
}



